home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / graphics / printgf.zip / PRINTGF.DOC < prev    next >
Text File  |  1995-02-02  |  94KB  |  1,736 lines

  1.  
  2.  
  3.  
  4.                                    PrintGF  1.22
  5.  
  6.                        PrintGF/D - image printer for DOS
  7.                        PrintGF/W - image printer for Windows
  8.  
  9.                     (c) Copyright Ravitz Software Inc. 1993,1995
  10.  
  11.                  AccuSoft IFL interpreter for DOS - PRINTGF.OVR
  12.                  AccuSoft IFL interpreter for Windows - PRINTGF.DLL
  13.  
  14.                       (c) Copyright AccuSoft Corporation 1994
  15.  
  16.                 Fargo Primera, PrimeraPro PR ROM code - PRINTGF.FPR
  17.  
  18.                      (c) Copyright Fargo Electronics, Inc. 1994
  19.  
  20.  
  21.        Ravitz Software Inc.                              BBS/FAX 606-268-0577
  22.        P.O. Box 25068
  23.        Lexington, KY  40524-5068
  24.        USA                                  Compuserve Cary Ravitz [70431,32]
  25.  
  26.  
  27.        ------------------------------ License -------------------------------
  28.  
  29.        PrintGF (including PrintGF/D and PrintGF/W) is provided  as is.  There
  30.        are no warranties expressed or implied.
  31.  
  32.        PrintGF  is  copyrighted  by  Ravitz  Software  Inc.  PRINTGF.OVR  and
  33.        PRINTGF.DLL are  copyrighted by  AccuSoft Corporation.  PRINTGF.FPR is
  34.        copyrighted by Fargo Electronics, Inc.  You may copy PrintGF  only for
  35.        use under this license agreement.
  36.  
  37.        PrintGF is distributed  as  shareware.  You may  use  PrintGF  without
  38.        charge on a trial basis to determine its suitability  for you.  If you
  39.        continue  to use  it  after  your  evaluation,  you  MUST  purchase  a
  40.        registered copy for $34 (US$).  The PrintGF shareware package does not
  41.        include PRINTGF.DLL.  Registration covers use by  a  single person (on
  42.        multiple computers) or installation on a single  computer (may be used
  43.        by a group of people).  There is no  cost to use a  later 1.** version
  44.        after registering any 1.** version.
  45.  
  46.        You  may  distribute PrintGF  without  PRINTGF.DLL  as  a  stand alone
  47.        product  if you keep the entire  package  together, unchanged, clearly
  48.        label the disk as shareware, and do not charge more than $10.  You may
  49.        not distribute  PrintGF as part of another product or on the same disk
  50.        with any commercial software.
  51.  
  52.        See Order Form in PRINTGF.TXT for ordering information.               
  53.  
  54.  
  55.        ------------------------------ Contents ------------------------------
  56.  
  57.        PrintGF Initial Information File ......................... PRINTGF.TXT
  58.        Introduction                                                         3
  59.        License and Registration ........................................... 4
  60.        Installation                                                         5
  61.        Operation .......................................................... 6
  62.        Syntax                                                               7
  63.        Overview of Options ................................................ 8
  64.        /1, /2, /3, /4, /5 - Default Options                                 8
  65.        /A - Area Option ................................................... 8
  66.        /B, /C - Brightness, Contrast Options                                9
  67.        /D - Output Destination Option .................................... 10
  68.        /E - AccuSoft IFL Option                                            10
  69.        /F - Output Format Option ......................................... 11
  70.        /G - Image File Option                                              13
  71.        /I - Intermediate File Option ..................................... 13
  72.        /J, /K - Printer Code Prefix, Suffix Options                        13
  73.        /L - Page Layout Option ........................................... 14
  74.        /N - Page Number Option                                             14
  75.        /Q - Print Quality Options ........................................ 15
  76.        /R - Override Aspect Ratio Option                                   16
  77.        /U - Image Gamma Correction Option ................................ 16
  78.        /X - User Interface Option                                          16
  79.        /Y - Gray Balance Correction Option ............................... 16
  80.        /Z - Output Gamma Correction Option                                 17
  81.        Menu .............................................................. 18
  82.        Menu Specific Functions                                             18
  83.        Menu Input and Picture Quality Options ............................ 19
  84.        Menu Output Options                                                 19
  85.        Menu Window and Margins ........................................... 19
  86.        Large Paper                                                         20
  87.        Dithering ......................................................... 21
  88.        Blurring and Sharpening                                             22
  89.        Output Gamma Color Correction ..................................... 22
  90.        Color Processing                                                    23
  91.        Compatibility and Technical Information ........................... 23
  92.        Output Devices (Displays, Printers, Plotters, Bit Maps, Fax)        24
  93.        Program Interface ................................................. 31
  94.        PGF Files                                                           33
  95.        Useful Prefix and Suffix Codes .................................... 34
  96.        Answers                                                             35
  97.        User Support ...................................................... 35
  98.  
  99.                                                                           p-3
  100.        Introduction ---------------------------------------------------------
  101.  
  102.          PrintGF  (Print Graphics Files) is a shareware image printer for DOS
  103.          and Windows systems.  It includes a DOS program that can be run from
  104.          the command line  and  BAT  files  or  via menu  (PrintGF/D)  and an
  105.          equivalent Windows program (PrintGF/W).  It prints BMP, GIF, and PCX
  106.          files on Epson and IBM 9 pin printers, Epson, Fujitsu, IBM, NEC, and
  107.          Toshiba  24  pin  printers,  Epson  Stylus,  HP  LaserJet,  DeskJet,
  108.          PaintJet,  and RTL  plotters, HI  JetPro, IBM ExecJet, LaserPrinter,
  109.          Canon  LBP,  BJ, and BJC  printers,  Kodak Color  4, Fargo  Primera,
  110.          PostScript printers, Tektronix ColorQuick, and others.  It will also
  111.          display on a CGA, EGA, VGA, VESA SVGA, or HGC.
  112.  
  113.          PrintGF includes an overlay (PRINTGF.OVR) and DLL (PRINTGF.DLL) that
  114.          contain the AccuSoft Image  Format Library interpreter for  DOS  and
  115.          Windows.  These external interpreters read a number of image formats
  116.          including BMP, GIF, JPEG, PCX, TARGA, and TIFF.  These files are not
  117.          needed  for reading BMP,  GIF,  or  PCX  images.  PRINTGF.DLL is not
  118.          included in the shareware version of PrintGF.
  119.  
  120.          PrintGF transforms the bit map size and resolution to match the user
  121.          specified size and the native resolution of the  output  device.  It
  122.          outputs 255 level dithered gray on black/white devices and 255 level
  123.          per plane dithered color on three  plane (CMY or  RGB) color devices
  124.          (giving  16.7  million colors).  The  dither pattern  size and error
  125.          diffusion filter can be set to trade speed verses print quality.
  126.  
  127.          The user  options  include  picture  area,  print area and  margins,
  128.          processing resolution,  brightness  and  contrast,  gamma  and  gray
  129.          balance color  correction,  blurring and sharpening, edge smoothing,
  130.          printer type, output destination, etc.
  131.  
  132.          The  Graphics  Interchange Format  (c) is the  Copyright property of
  133.          CompuServe  Incorporated.  GIF  (sm)  is a  Service Mark property of
  134.          CompuServe Incorporated. For further information, please contact:
  135.  
  136.            CompuServe Incorporated
  137.            Graphics Technology Department
  138.            5000 Arlington Center Blvd
  139.            Columbus, OH  43220
  140.            USA
  141.  
  142.          This program is produced by a member of the Association of Shareware
  143.          Professionals (ASP).  ASP wants to  make  sure  that  the  shareware
  144.          principle  works   for  you.   If  you   are  unable  to  resolve  a
  145.          shareware-related  problem  with  an ASP  member  by  contacting the
  146.          member directly, ASP may be able to help. The ASP Ombudsman can help
  147.          you resolve a  dispute or problem  with an  ASP member, but does not
  148.          provide technical support for members' products. Please write to the
  149.          ASP  Ombudsman at  545  Grover Road,  Muskegon, MI 49442  or send  a
  150.          CompuServe message via CompuServe Mail to ASP Ombudsman 70007,3536. 
  151.  
  152.                                                                           p-4
  153.        License and Registration ---------------------------------------------
  154.  
  155.          PrintGF (including PrintGF/D and PrintGF/W) is provided as is. There
  156.          are no warranties expressed or implied.
  157.  
  158.          PrintGF  is copyrighted  by  Ravitz Software  Inc.  PRINTGF.OVR  and
  159.          PRINTGF.DLL are copyrighted by AccuSoft Corporation.  PRINTGF.FPR is
  160.          copyrighted by Fargo Electronics, Inc. You may copy PrintGF only for
  161.          use under this license agreement.
  162.  
  163.          PrintGF  is  distributed as shareware.  You may  use PrintGF without
  164.          charge on a trial basis to determine its suitability for you. If you
  165.          continue to  use  it  after  your  evaluation,  you MUST purchase  a
  166.          registered  copy for $34 (US$).  The PrintGF shareware  package does
  167.          not include PRINTGF.DLL.  Registration covers use by a single person
  168.          (on multiple computers) or installation on a single computer (may be
  169.          used by a group of  people).  There  is no cost  to use a later 1.**
  170.          version after registering any 1.** version.
  171.  
  172.          You may  distribute  PrintGF without PRINTGF.DLL as  a  stand  alone
  173.          product if  you keep the entire package together, unchanged, clearly
  174.          label the disk as  shareware, and do not  charge more than $10.  You
  175.          may not distribute PrintGF as part of another product or on the same
  176.          disk with any commercial software.
  177.  
  178.          See Order Form in PRINTGF.TXT for ordering information.
  179.  
  180.          PrintGF  Printer  Driver  is  the  graphics  engine  used  in  these
  181.          programs. It may be licensed for use in commercial programs.  Send a
  182.          note to request more information on this.                           
  183.  
  184.                                                                           p-5
  185.        Installation ---------------------------------------------------------
  186.  
  187.          The PrintGF package includes these files:
  188.  
  189.            FILE_ID.DIZ  standard description of package
  190.            PRINTGF.DLL  AccuSoft Windows interpreter (registered copies only)
  191.            PRINTGF.DOC  documentation
  192.            PRINTGF.FPR  Fargo Primera ROM code
  193.            PRINTGF.OVR  AccuSoft DOS interpreter
  194.            PRINTGF.TXT  initial information
  195.            PRINTGFD.EXE DOS program
  196.            PRINTGFW.EXE Windows program
  197.            README.BAT   displays the initial information file
  198.  
  199.          To install PrintGF create  a  directory called PRINTGF, and copy  or
  200.          unpack  the distribution files into this directory.  It is preferred
  201.          that the PRINTGF directory be in your DOS PATH.
  202.  
  203.          To  install PrintGF/W as an  icon  in the Windows  Program  Manager,
  204.          select File, then  New, then program item  to  bring up  the Program
  205.          Item Properties  menu.  Enter the item name - PrintGF/W, the command
  206.          line - C:\PRINTGF\PRINTGFW, and the working directory - wherever you
  207.          keep your image files.  You can choose from three icons designed for
  208.          two, sixteen, and 32K color setups.
  209.  
  210.          PRINTGF.TXT  is  initial  information.  You can view it from DOS  by
  211.          running README.BAT or from PrintGF by pressing F1. While viewing it,
  212.          you can print pages or the entire file. Press T repeatedly until the
  213.          correct setup is  displayed and  then press  P.  Or from  DOS, "COPY
  214.          PRINTGF.TXT PRN" to print the entire file.
  215.  
  216.          PRINTGF.DOC  is the documentation.  This is viewed  and printed just
  217.          like PRINTGF.TXT.                                                   
  218.  
  219.                                                                           p-6
  220.        Operation ------------------------------------------------------------
  221.  
  222.          When working with PCX and flat GIF files (most of them), printed  in
  223.          portrait orientation,  without  vertical  mirroring, PrintGF reads a
  224.          the file and prints simultaneously.  Interlaced GIF files, landscape
  225.          prints,  vertically mirrored GIF and PCX prints, BMP prints that are
  226.          not vertically mirrored,  and images read by the AccuSoft IFL  image
  227.          interpreter require  PrintGF to read the entire file into XMS memory
  228.          and then print it, so there is a delay between startup and printing.
  229.  
  230.          Esc  stops PrintGF at the next good break point, leaving the printer
  231.          ready for new data. Ctrl-B stops PrintGF as quickly as possible. You
  232.          generally need to do a printer reset after a Ctrl-B.
  233.  
  234.          When  you display an image, press Enter or Esc to return to  the DOS
  235.          text screen, any  of the four cursor movement keys to scroll  across
  236.          the image, PgDn to magnify, PgUp to  reduce, R to redraw the screen,
  237.          or S to cycle between full, half (the  default), quarter, and eighth
  238.          page scrolling.
  239.  
  240.          Print  quality  and  print  speed are predominantly affected  by the
  241.          output  format  (/F or "output format") and  quality  option (/Q  or
  242.          "print quality"). Color and gray level are predominantly affected by
  243.          the   brightness  (/B),  contrast  (/C),  image  gamma  (/U),  gamma
  244.          correction  (/Z),  and  gray  balance  (/Y)  (all   on  the   "color
  245.          correction"  menu).  Look  at  these options  to  correct  any  such
  246.          problems.
  247.  
  248.          PrintGF  works within a  printer's current margins and starts at the
  249.          current vertical print position. If you decline the form feed option
  250.          (/L or "form feed") then PrintGF leaves the printer  at the start of
  251.          the line directly below the image.
  252.  
  253.          PrintGF will not automatically change a printer's operating mode. On
  254.          multimode  printers, the  right  operating  mode must be  set before
  255.          running PrintGF or with the prefix code (/J) option.                
  256.  
  257.                                                                           p-7
  258.        Syntax ---------------------------------------------------------------
  259.  
  260.          PrintGF can  be run  from  the command  line (DOS  or Windows) using
  261.          various options to tell it what to do. And it can be started with no
  262.          options  to  bring  up  a  menu  system.   The   menu  options  have
  263.          corresponding command line options, so the two forms of options will
  264.          be described together.  The menu options are noted by  the menu name
  265.          in  quotes followed by  the  menu  choice  in  quotes,  for  example
  266.          "page/area" "image page number:".
  267.  
  268.          From the command line, the calling syntax is:
  269.  
  270.            PRINTGFD imagefile /option1 /option2 ...
  271.            PRINTGFW imagefile /option1 /option2 ...
  272.  
  273.          Spaces  between  parameters are not required.  The image file may be
  274.          specified with  the /G  option if it is  inconvenient to make it the
  275.          first parameter.
  276.  
  277.          If a given option is entered more than once,  only the last entry is
  278.          used.  And if  an  option  is invalid (but  not  incorrect),  it  is
  279.          ignored.
  280.  
  281.          When  run from the command  line,  PrintGF  uses  the  current  menu
  282.          options as the default, so if you  have the menu set  up as desired,
  283.          you can run PRINTGFW imagefile from the command line and avoid going
  284.          through the menu to select the image file.
  285.  
  286.          Below, [ and ] enclose optional suboptions and  | separates mutually
  287.          exclusive suboptions. The options and suboptions may be in any order
  288.          except  that  multiple  numeric suboptions are ordered  and  numeric
  289.          suboptions must follow character suboptions where the characters may
  290.          be digits.  "c" refers to a suboption character, "w",  "x", "y", and
  291.          "z"  to  suboption numbers,  "i", "j", "k",  and  "l"  to  suboption
  292.          integers, "b" to  a suboption byte,  and "f" to a DOS file or device
  293.          name.
  294.  
  295.          For  numbers (w,  x, y, z),  a decimal point  is allowed but is  not
  296.          required, and scientific notation is not allowed. "-" is allowed but
  297.          not "+". For integer input (i, j, k, l), only base ten integers from
  298.          -32768 to 32767 are allowed. "+" is not allowed.  A byte (b) must be
  299.          a base ten integer from  0  to 255 or a hexadecimal  number prefixed
  300.          with $ from  $00  to $FF.  Further  range checking is  done for most
  301.          options  to  flag  unreasonable  input.  If  an  option has multiple
  302.          numeric suboptions, these may be separated with commas or blanks.   
  303.  
  304.                                                                           p-8
  305.        Overview of Options --------------------------------------------------
  306.  
  307.          PrintGF's options fall into four categories.  The first is input and
  308.          output choices. The input is chosen with /G, the image file, /N, the
  309.          image  page  number, and /A, the  area of the image to  be  printed.
  310.          Output options are /F, the output  format  (printer model), and  /D,
  311.          the destination port, device, or file.
  312.  
  313.          The  second category is the page  layout.  /L  controls the size and
  314.          location of the print window and the option to not send a form feed.
  315.  
  316.          The third category defines how the image is processed. /B and /C set
  317.          the  brightness  and  contrast.   /Q  sets  the  dither  type,  edge
  318.          smoothing, and  blur level.  /Y sets the gray  balance and /U and /Z
  319.          set gamma color correction. /E specifies the image interpreter.
  320.  
  321.          /X sets all of the user interface options and /1, /2, /3, /4, and /5
  322.          choose one of the menu setups as the command line default.
  323.  
  324.        /1, /2, /3, /4, /5 - Default Options ---------------------------------
  325.  
  326.          These command line options  select  a configuration from the menu to
  327.          be  used as the default.  This option must match the first character
  328.          of the title of one of the five menu configurations.
  329.  
  330.        /A - Area Option -----------------------------------------------------
  331.  
  332.          /A[L][M][V][S]i,j,k[,l] - area to be printed - default /A50,50,100
  333.  
  334.          "page/area" "picture area:"
  335.          "page/area" "landscape:"
  336.          "page/area" "mirror horizontally:"
  337.          "page/area" "mirror vertically:"
  338.          "page/area" "stretch to fit window:"
  339.  
  340.          /A defines the area of the iamge that is to  be printed and includes
  341.          options to modify the printed image.  This can  be  any  rectangular
  342.          area, defined  by  the  center  of the  rectangle,  its  width,  and
  343.          optionally its  height.  The center  is  set as the percent distance
  344.          from the left and  top  of the picture  to the  center of  the  area
  345.          (0..100).  The  width is  set  as a percentage of the picture width,
  346.          from 1 to 100.  The height may be set as a percentage of the picture
  347.          height  (1..100)  or defaulted to the same  percentage as the width.
  348.          The  center  point will be adjusted to insure that the entire  width
  349.          and height are on the picture.
  350.  
  351.          The L suboption  specifies landscape  orientation.  M says to mirror
  352.          the image horizontally. V says to mirror the image vertically. These
  353.          may be combined to turn the image upside down. S says to stretch the
  354.          picture to fill the print window.
  355.  
  356.          /A50,50,100     the default, prints the entire picture
  357.          /A25,25,50      prints the upper left hand quarter of the picture
  358.          /A25,75,50      prints the lower left hand quarter of the picture
  359.          /A25,90,20      is adjusted to 25,80,20 so the area fits            
  360.  
  361.                                                                           p-9
  362.        /B, /C - Brightness, Contrast Options --------------------------------
  363.  
  364.          /Bi[,j[,k]] - brightness - default /B50
  365.          /Ci[,j[,k]] - contrast   - default /C50
  366.  
  367.          "color correction" "brightness:"
  368.          "color correction" "contrast:"
  369.  
  370.          PrintGF  modifies each  image color  based on the /B and /C options.
  371.          These numbers  can  be specified  overall  or for  each  color plane
  372.          (RGB). They are applied before any conversion to black/white.
  373.  
  374.          The brightness number specifies  the output  level (%)  at an  input
  375.          level of 50%. 50, the default, leaves the brightness unchanged.
  376.  
  377.          The contrast number specifies  the difference  in  output  level  at
  378.          input level 100% verses input level 50%.  50 is  the  default and it
  379.          leaves the contrast unchanged.
  380.  
  381.          Output  levels clip at 0% and 100%.  If the brightness plus contrast
  382.          total  100 or less then you will not clip any colors at the top.  If
  383.          the brightness  minus the contrast  is 0 or  above then you will not
  384.          clip any colors at the bottom.
  385.  
  386.          Nominal output/input curve
  387.  
  388.          o 100 |                   *--- contrast = output level at 100
  389.          u     |                 *    .            - brightness
  390.          t     |               *      .
  391.          p     |             *        .
  392.          u     |           *          .
  393.          t  50 |         *------------- brightness = output level at 50
  394.                |       *
  395.                |     *                  gamma = 1
  396.                |   *
  397.                | *
  398.              0 *---------+---------+
  399.          input 0        50       100
  400.  
  401.          Contrast output/input curves
  402.                                    .------- contrast = 100
  403.                                   .   .
  404.                                  .    .
  405.                                 .     .
  406.                                .      .
  407.          o 100 |              ******  .
  408.          u     |             *        .
  409.          t     |            *     +-------- contrast = 30
  410.          p     |           *   +      .   .
  411.          u     |          * +         .   .
  412.          t  50 |         *-----------------
  413.                |      + *
  414.                |   +   *
  415.                |+     *
  416.                |     *
  417.              0 ******----+---------+
  418.          input 0        50       100                                continued
  419.  
  420.                                                                          p-10
  421.          Brightness output/input curves
  422.  
  423.          o 100 |               *****
  424.          u     |             *
  425.          t     |           *       +
  426.          p     |         *------ + --- brightness = 70
  427.          u     |       *       +
  428.          t  50 |     *       +
  429.                |   *       +
  430.                | *       +------------ brightness = 30
  431.                *       +
  432.                |     +
  433.              0 +++++-----+---------+
  434.          input 0        50       100
  435.  
  436.        /D - Output Destination Option ---------------------------------------
  437.  
  438.          /D[*][+]f - destination - default /D1
  439.  
  440.          "destination"
  441.  
  442.          The D option specifies the output printer port, device, or file. The
  443.          + suboption causes files to be appended rather than overwritten.  1,
  444.          2, and 3 select  the BIOS  printer  routines.  P1..P3 select  direct
  445.          parallel port drive -  add extension 001 to 999 (for example P1.010)
  446.          to  slow  the  function  of the  port for  compatibility  with older
  447.          printers.  X1..X4  select xon/xoff serial port drive.  H1..H4 select
  448.          hardware  (RTS/CTS)  serial port drive.  W selects the Windows print
  449.          manager (PrintGF/W  only).  You can  also  use the DOS devices LPT1,
  450.          COM1, etc. /D is ignored for display output.
  451.  
  452.          P1, P2, and P3 are generally the fastest way to drive a printer.
  453.  
  454.          If you  choose  a  three  digit  number  for the file extension (for
  455.          example  .000) and  use  the  *  suboption  then  the  extension  is
  456.          incremented to avoid overwriting existing files.
  457.  
  458.          PrintGF cannot set up the serial ports.  This is usually done in the
  459.          AUTOEXEC.BAT with MODE (probably MODE COM1:9600,N,8,1,P).
  460.  
  461.          /D2           sends output to the second parallel port via BIOS
  462.          /D+TEMP.PRN   appends output to file TEMP.PRN
  463.  
  464.        /E - AccuSoft IFL Option ---------------------------------------------
  465.  
  466.          /E[-] - read image via AccuSoft IFL interpreter - default /E-
  467.  
  468.          "interpreter"
  469.  
  470.          The /E  option  specifies  to read the image file  via the  AccuSoft
  471.          Image Format Library  interpreter contained  in PRINTGF.OVR (DOS) or
  472.          PRINTGF.DLL (Windows,  registered  copies  only).  This  interpreter
  473.          reads file types including BMP, GIF, JPEG, PCX, TARGA, and TIFF. The
  474.          images are loaded  into memory before processing, so XMS is required
  475.          for  any use of this interpreter.  24 bit images require three bytes
  476.          per pixel for the entire original image.  For  a 1024x768 image this
  477.          is 2.25 Meg. /E- says to use the native image interpreter.          
  478.  
  479.                                                                          p-11
  480.        /F - Output Format Option --------------------------------------------
  481.  
  482.          /Fc[%][-|+|*|^][!|¡][~|`][}][x,y] - output format - default /FV
  483.  
  484.          "output format"
  485.          "print quality" "CMY (3) or CMYK (4) color:"
  486.          "print quality" "interleave bands:"
  487.          "print quality" "Primera heat (1..96):"
  488.  
  489.          The  F option specifies the  output  format.  -,  +,  *, and  ^  are
  490.          resolution modifiers, ! and ¡ select compression levels, ~ turns off
  491.          color  processing, `  switches to  or from  four plane  color, and }
  492.          selects interleave mode.  These suboptions  are allowed even if they
  493.          have no effect. % selects a different driver.
  494.  
  495.          For PCX and PostScript (/FZ, /FS) you can append the resolution. For
  496.          the Primeras (/F8, /FY) you can append the heat setting (1..96).
  497.  
  498.          Each driver has a default level of data compression, chosen for best
  499.          compatibility.  Many drivers have  an optional level of compression,
  500.          chosen  with !, that will be incompatible  with some printers.  Some
  501.          drivers let you turn compression off with ¡ (ASCII 173).
  502.  
  503.          Where effective, the }, !, ¡, `, and ~ modifiers are listed below.
  504.  
  505.          /F0[i]        ~ HP-RTL ................................ 300x300, ixi
  506.          /F1             IBM 9 pin                                     120x72
  507.          /F2             IBM Quietwriter 2 .......................... 240x240
  508.          /F3             IBM Quietwriter 3                            240x240
  509.          /F4-         !¡ IBM LaserPrinter (PPDS mode) ............... 150x150
  510.          /F4          !¡ IBM LaserPrinter (PPDS mode)                 300x300
  511.          /F4+         !¡ IBM LaserPrinter (PPDS mode) ............... 600x600
  512.          /F5        }!`~ IBM 24 pin alternate 1                       180x180
  513.          /F6           ! IBM Proprinter X24 ......................... 180x182
  514.          /F7-        } ¡ Canon BJ IBM mode, IBM ExecJet               180x180
  515.          /F7         } ¡ Canon BJ IBM mode, IBM ExecJet ............. 360x360
  516.          /F8[i]       `~ Fargo Primera, heat i                        203x200
  517.          /F8+[i]       ~ Fargo Primera Photo-Realistic, heat i ...... 203x200
  518.          /F9        }!`~ NEC 24 pin                                   180x180
  519.          /F#-         }¡ JRL J bubblejet Epson mode ................. 180x180
  520.          /F#           ¡ JRL J bubblejet Epson mode                   360x360
  521.          /F$-         }~ Epson Esc/P2 ............................... 180x180
  522.          /F$          }~ Epson Esc/P2                                 360x360
  523.          /F$+        }`~ Epson Esc/P2 ............................... 720x720
  524.          /F&-         `~ Canon BJ/BJC native mode                     180x180
  525.          /F&          `~ Canon BJ/BJC native mode ................... 360x360
  526.          /F:         }`~ Star Micronics SJ-144                        360x360
  527.          /F:+         `~ Star Micronics SJ-144 two pass ............. 360x360
  528.          /F@-          ~ Canon BJC CaPSL mode                         180x180
  529.          /F@           ~ Canon BJC CaPSL mode ....................... 360x360
  530.          /FA-        !`~ HP DeskJet 500C, Mannesmann Tally MT92C      150x150
  531.          /FA         !`~ HP DeskJet 500C, Mannesmann Tally MT92C .... 300x300
  532.          /FB-       }`¡~ Canon BJ/BJC Epson mode                      180x180
  533.          /FB        }`¡~ Canon BJ/BJC Epson mode .................... 360x360
  534.  
  535.                                                                     continued
  536.  
  537.                                                                          p-12
  538.          /FC             CGA display .................................. 80x33
  539.          /FD-         !¡ Canon LBP (ISO/CaPSL mode)                   150x150
  540.          /FD          !¡ Canon LBP (ISO/CaPSL mode) ................. 300x300
  541.          /FD+         !¡ Canon LBP (ISO/CaPSL mode)                   600x600
  542.          /FE           ~ 128K EGA color display ....................... 80x58
  543.          /FF        }!`~ Fujitsu 24 pin                               180x180
  544.          /FG           ¡ PDP Protracer (IBM mode) ................... 360x360
  545.          /FH             Hercules graphics card display                 90x58
  546.          /FI-            HP LaserJet 3, DeskJet ..................... 150x150
  547.          /FI           } HP LaserJet 3, DeskJet                       300x300
  548.          /FI+            HP LaserJet 4 .............................. 600x600
  549.          /FJ-          } Canon BJ BJ130 mode                          180x180
  550.          /FJ           } Canon BJ BJ130 mode ........................ 360x360
  551.          /FK           ~ Kodak Diconix Color 4                        192x192
  552.          /FL-         !¡ HP LaserJet ................................ 150x150
  553.          /FL          !¡ HP LaserJet                                  300x300
  554.          /FM             128K EGA monochrome display ................   80x58
  555.          /FN          `~ Epson 9 pin                                   120x72
  556.          /FO         !`~ Toshiba 24 pin ............................. 180x180
  557.          /FP          !~ HP PaintJet                                  180x180
  558.          /FQ             HP QuietJet (PCL mode) ..................... 192x192
  559.          /FR          `~ Tektronix ColorQuick                         216x216
  560.          /FS-[i[,j]]   ~ PostScript 1 bit/plane ............. 72x72, ixi, ixj
  561.          /FS[i[,j]]    ~ PostScript 8 bits/plane             native, ixi, ixj
  562.          /FT        }!`~ Epson 24 pin ............................... 180x180
  563.          /FU-          ~ 320x200 256+ color VGA or VESA SVGA display    40x33
  564.          /FU           ~ 640x480 256+ color VESA SVGA display ......... 80x80
  565.          /FU+          ~ 800x600 256+ color VESA SVGA display         100x100
  566.          /FU*          ~ 1024x768 256+ color VESA SVGA display ...... 128x128
  567.          /FU^          ~ 1280x1024 256+ color VESA SVGA display       160x170
  568.          /FU%          ~ Windows display 32K color ..........................
  569.          /FV           ~ 640x480 VGA display                            80x80
  570.          /FV+          ~ 800x600 VESA SVGA display .................. 100x100
  571.          /FV*          ~ 1024x768 VESA SVGA display                   128x128
  572.          /FV^          ~ 1280x1024 VESA SVGA display ................ 160x170
  573.          /FV%          ~ Windows display 16 color
  574.          /FW          `~ Epson 9 pin alternate ....................... 120x72
  575.          /FW%-        !~ Windows default printer dithered 1 bit/plane
  576.          /FW%         !~ Windows default printer 8 bits/plane ...............
  577.          /FX        }!`~ IBM 24 pin alternate 2                       180x180
  578.          /FY[i]       `~ Fargo PrimeraPro, heat i ................... 300x300
  579.          /FY+[i]       ~ Fargo PrimeraPro Photo-Realistic, heat i     300x300
  580.          /FY*[i]       ~ Fargo PrimeraPro Photo-Realistic, heat i ... 300x600
  581.          /FZ[i[,j]]    ~ ZSoft PCX 1 bit/plane              100x100, ixi, ixj
  582.          /FZ+[i[,j]]   ~ ZSoft PCX 8 bits/plane ........... 100x100, ixi, ixj
  583.          /FZ%[i[,j]]   ~ PGF 1 bit/plane                    100x100, ixi, ixj
  584.          /FZ%+[i[,j]]  ~ PGF 8 bits/plane ................. 100x100, ixi, ixj
  585.  
  586.                                                                          p-13
  587.        /G - Image File Option -----------------------------------------------
  588.  
  589.          /Gf - image file - no default
  590.  
  591.          "image file"
  592.  
  593.          The image file may be  specified  as  the  first  parameter with  no
  594.          prefix, or it may be specified anywhere in the option list with /G.
  595.  
  596.          When the  image  file name is SHADE4 to SHADE256  (with  no  path or
  597.          extension),  PrintGF generates data internally  giving a color scale
  598.          with  4 to 256 steps.  This is  useful for setting  the gamma  color
  599.          correction and gray balance correction.
  600.  
  601.        /I - Intermediate File Option ----------------------------------------
  602.  
  603.          /I[f] intermediate output file - default /I
  604.  
  605.          "other output" "intermediate file:"
  606.  
  607.          /I  lets you specify an intermediate file for  data  output.  During
  608.          processing all print  data is sent to this file.  Then the  file  is
  609.          copied to the destination.  This is  only effective for destinations
  610.          1..3,  H1..H4,  P1..P3,  and  X1..X4  (direct drive devices).  It is
  611.          useful when the device requires continuous, fast data flow.
  612.  
  613.        /J, /K - Printer Code Prefix, Suffix Options -------------------------
  614.  
  615.          /J[b,b,..] - printer code prefix - default /J
  616.          /K[b,b,..] - printer code suffix - default /K
  617.  
  618.          "other output" "prefix codes:"
  619.          "other output" "suffix codes:"
  620.  
  621.          /J lets you send codes to the printer before PrintGF's usual data is
  622.          sent and /K  lets you send codes after PrintGF's usual data is sent.
  623.          This lets you set up and reset the  printer for special  situations.
  624.  
  625.          The codes  are  specified  with  byte  values  (0..255  or  $0..$FF)
  626.          separated with  blanks  or commas.  All  options are  limited  to 80
  627.          characters, so long sequences must be handled outside of PrintGF.
  628.  
  629.          /J27,69  does a printer reset on HP-PCL printers                    
  630.  
  631.                                                                          p-14
  632.        /L - Page Layout Option ----------------------------------------------
  633.  
  634.          /L[N][R][x,y[,x,y]]] - page layout - default /L8,6,0,0
  635.  
  636.          "window/margins"
  637.          "other window" "round window width to 8 pixels: "
  638.          "other output" "form feed: "
  639.  
  640.          The L option defines the page layout.
  641.  
  642.          N turns form feeds off. It is ignored for PCX and display output.
  643.  
  644.          R causes the print window width to be rounded to a multiple of eight
  645.          pixels.
  646.  
  647.          The first optional x and y are the print window  width and height in
  648.          inches, which is the output image size.  If you specify 0,0 then the
  649.          image  is printed  at  a 1/1  pixel input/output ratio  (this forces
  650.          /AS).
  651.  
  652.          The second optional x and y are the left  and top margins,  measured
  653.          from the printer's left margin and current vertical position to  the
  654.          print  window.  Margins  are  measured  from  the  bottom  left  for
  655.          PostScript. Margins are ignored for PCX output.
  656.  
  657.          THE PRINT WINDOW PLUS THE MARGINS MUST FIT WITHIN THE PRINTABLE AREA
  658.          OF THE PRINTER.
  659.  
  660.          /L8,4,0,1  print window 8x4, margins 0,1
  661.  
  662.        /N - Page Number Option ----------------------------------------------
  663.  
  664.          /Ni - page number - default /N1
  665.  
  666.          "page/area" "page number:"
  667.  
  668.          The /N option specifies the image page number to print.
  669.  
  670.          /N3  prints page 3                                                  
  671.  
  672.                                                                          p-15
  673.        /Q - Print Quality Options -------------------------------------------
  674.  
  675.          /Q[1|2|4|8]   - print quality - default /Q1R
  676.            [F|P|R|S|X]
  677.            [C|E]
  678.            [B|D]
  679.            [H|I|J|K|T|U|V|W]
  680.  
  681.          "print quality" "dither pattern:"
  682.          "print quality" "error diffusion:"
  683.          "print quality" "edge smoothing:"
  684.          "print quality" "out blur level:"
  685.          "print quality" "in blur/sharpen level (-4..4):"
  686.  
  687.          The 1, 2, 4, and  8 suboptions specify the dither pattern cell size.
  688.          With 1 each output dot is treated  as one dot internally  with shade
  689.          levels 0 or 1. With 2, 4, and 8 output dots are grouped in 2x2, 4x4,
  690.          and 8x8 cells with shade levels 0..4, 0..16, and 0..64.  Larger cell
  691.          sizes   are   faster  and  smaller  cell  sizes  gives  better  edge
  692.          definition. The default is 1.
  693.  
  694.          For the 256+ color VGA modes  (/FU), the Primera in  Photo-Realistic
  695.          mode (/F8+), and PostScript 8/24 bit mode  (/FS+) the output devices
  696.          are multi-level and the dither pattern cell size is always 1.
  697.  
  698.          Regardless  of  the dither  pattern,  the  output shade  levels  are
  699.          dithered  to 0..255, 0..248, 0..240, or  0..192 via error diffusion.
  700.          Four error  diffusion filters  are  available.  The  Floyd-Steinberg
  701.          filter is selected with suboption F.  The Stucki  filter is selected
  702.          with S.  A special filter,  labeled Ravitz, is selected  with R (the
  703.          default). And the Ravitz filter with 50% random noise added into the
  704.          weights is selected with P (Perturbed).
  705.  
  706.          You can turn off error diffusion, leaving  only the  pattern dither,
  707.          with the X. This might be useful with the 8x8 dither pattern.
  708.  
  709.          Edge  smoothing,  specified  with  the C or E suboption, is done  by
  710.          scaling  the bit map by contour interpolation rather than color/area
  711.          summing.  This gives improved edge  smoothness, with a reduction  is
  712.          color accuracy.  The use of smoothing is limited to situations where
  713.          the output bit map size is at least twice the input bit map size, as
  714.          this is where it is effective. C uses four point interpolation and E
  715.          uses 12 point interpolation.
  716.  
  717.          If  too much  digitization detail shows in  the  output picture, and
  718.          edge smoothing  is  not  effective or desireable,  you can reduce it
  719.          with the Blur or Double blur suboptions, which operate on the output
  720.          image.  These options increase  the processing time and the required
  721.          memory.  You can also reduce detail by increasing the dither pattern
  722.          cell size. This is faster but may not give the same picture quality.
  723.  
  724.          H, I, J,  and K provide four levels of picture  sharpening and T, U,
  725.          V, and W provide four levels of blurring.  These operations are done
  726.          on the input image.
  727.  
  728.          See Dithering for more information on PrintGF's dithering options.  
  729.  
  730.                                                                          p-16
  731.        /R - Override Aspect Ratio Option ------------------------------------
  732.  
  733.          /R[x] - aspect ratio - default /R
  734.  
  735.          "page/area" "override aspect ratio:"
  736.  
  737.          This option says to ignore the aspect ratio of the bit map's pixels,
  738.          and use the value given. This can be used to stretch a bit map or to
  739.          correct  a problem in the bit map  or interpretation of the bit map.
  740.          Some  bit  maps  are  created with  incorrect or missing information
  741.          about the aspect ratio, such as specifying 1/1 when the ratio should
  742.          be 0.83 (on 320x200 bit maps).
  743.  
  744.          /R.833  sets the right aspect ratio for most 320x200 bit maps
  745.  
  746.        /U - Image Gamma Correction Option -----------------------------------
  747.  
  748.          /U[x] image gamma correction - default /U1
  749.  
  750.          "color correction" "image gamma:"
  751.  
  752.          Many  images are  created  at a  gamma  of  2 to  improve  the color
  753.          resolution in the bright half of the color levels.  Other images may
  754.          be  gamma corrected  for  a specific  output  device.  /U  lets  you
  755.          uncorrect  these images  by  specifying  the  gamma that  they  were
  756.          created at.  For example /U2  corrects an image  created at gamma 2.
  757.          This correction is applied to the input image.
  758.  
  759.        /X - User Interface Option -------------------------------------------
  760.  
  761.          /X[B][O][P][S] - interface options - default /X
  762.  
  763.          "other output" "pause to load paper:"
  764.  
  765.          The X option sets various interface options. P causes a pause before
  766.          each  printed  page.  S  suppresses extra  information  messages.  B
  767.          suppresses progress messages. O removes file overwrite prompts.
  768.  
  769.          /XS  gives only the most important messages
  770.  
  771.        /Y - Gray Balance Correction Option ----------------------------------
  772.  
  773.          /Y[H|R][x,y,z] - gray balance - default /Y1,1,1
  774.  
  775.          "color correction" "gray balance (c,m,y):"
  776.          "color correction" "gray balance type (H|R):"
  777.  
  778.          /Y lets you do gray balancing to compensate for printers  that use a
  779.          cyan, magenta, yellow ink mix to produce an non-neutral  black.  The
  780.          three  numbers represent the  fraction of cyan, magenta, and  yellow
  781.          ink to use to  get  a  neutral black.  H  specifies  HP's  suggested
  782.          compensation  for  the  HP   DeskJet   500C  printer.   R  specifies
  783.          compensation on the black component of each color, without regard to
  784.          the total non-black range.
  785.  
  786.          /YR1,1,1    is the default and does no gray balancing
  787.          /YH.67,1,1  is HP's recommended value for the HP DeskJet 500C       
  788.  
  789.                                                                          p-17
  790.        /Z - Output Gamma Correction Option ----------------------------------
  791.  
  792.          /Zw[,x,y[,z]] - gamma correction - default /Z.5, /Z1, or /Z1.5
  793.  
  794.          "color correction" "gamma correction (r,g,b):"
  795.  
  796.          This option  specifies the  use of the  gamma  shade level  transfer
  797.          function that  corrects for typical printer nonlinearity.  The value
  798.          may be specified for overall red, green, and blue  (one number), for
  799.          independent red, green, and blue (three numbers)  or for independent
  800.          cyan, magenta,  yellow, and  black  (four  numbers).  A value of 1.0
  801.          gives a  linear  response.  Values  from 0.1  to  1.0  increase  the
  802.          brightness  of the  output.  The default  is  1  for any high  color
  803.          devices (more that 1 bit per plane), 0.5 for other printers, and 1.5
  804.          for other displays.
  805.  
  806.          Gamma output/input curves
  807.  
  808.          o 100 |                *  *
  809.          u     |           *---- . --- gamma < 1
  810.          t     |        *      .  +
  811.          p     |      *      .
  812.          u     |           .    +
  813.          t  50 |   *     .------------ gamma = 1
  814.                |       .     +
  815.                | *   .     +---------- gamma > 1
  816.                |   .    +
  817.                * .  +
  818.              0 *+--------+---------+
  819.          input 0        50       100
  820.  
  821.          See Output Gamma Color Correction for more information.             
  822.  
  823.                                                                          p-18
  824.        Menu -----------------------------------------------------------------
  825.  
  826.          PrintGF/D and PrintGF/W include a  menu interface to let you  select
  827.          options, choose  a list  of image files, and print.  Run PRINTGFD or
  828.          PRINTGFW with no command line parameters to bring up the menu.
  829.  
  830.          The main menu is displayed at the top of the screen, and  the bottom
  831.          of the screen is used differently for each main menu item.  The main
  832.          menu  is  divided by column into four groups, described  below.  The
  833.          functions of the menu items are described in detail above.
  834.  
  835.          When the  cursor  is  on a main  menu item, the current state of the
  836.          submenu is displayed below.  To change the submenu, press Enter. The
  837.          items are modified with  cursor  movement  and typing numbers/names.
  838.          Enter returns you to the main menu with the new values.  Esc returns
  839.          you to the main menu with the option values unchanged.
  840.  
  841.          The PrintGF documentation can be viewed by pressing F1 from any menu
  842.          that displays F1 on its key line.
  843.  
  844.          If  one of the first two letters of a main menu item is capitalized,
  845.          that item may be accessed immediately by pressing the letter.
  846.  
  847.          When a cursor bar has a notch, the value in the notch may be edited.
  848.  
  849.        Menu Specific Functions ----------------------------------------------
  850.  
  851.          The  first  column  of  main  menu  options  is  dedicated  to  menu
  852.          functions.  These include running PrintGF, alternate configurations,
  853.          exit, saving the configurations, and set menu options.
  854.  
  855.          The  "Alt  configuration" item rotates between five  configurations.
  856.          The current configuration name is on line 2.
  857.  
  858.          The  "save  configurations" item saves the current configurations by
  859.          writing them to the EXE file. The image file list is not saved.  You
  860.          can create multiple EXE files with different names and each can have
  861.          its own configurations.
  862.  
  863.          The  "menu options" item lets you set the configuration name, screen
  864.          colors, and  up to five initial image file masks.  Screen colors are
  865.          specified with the mnemonics listed here:
  866.  
  867.            k black    r red             k+ gray            r+ bright red
  868.            b blue     m magenta         b+ bright blue     m+ bright magenta
  869.            g green    y yellow/brown    g+ bright green    y+ bright yellow
  870.            c cyan     w white           c+ bright cyan     w+ bright white
  871.  
  872.          For PrintGF/W you can also use - and * as color modifiers. These are
  873.          only  effective with 15, 16, or  24 bit color  setups.  To  use  the
  874.          default Windows colors, blank out the desired line of colors.
  875.  
  876.          For  PrintGF/W  you can choose the screen font height, selected from
  877.          current "fixedsys" fonts, VGAFIX (15), and 8514FIX (20).            
  878.  
  879.                                                                          p-19
  880.        Menu Input and Picture Quality Options -------------------------------
  881.  
  882.          Column two of the main menu lets you choose the image files to print
  883.          (the  /G  option in PrintGF), the image page number (/N) and picture
  884.          area/mode (/A), the image interpreter  (/E),  print quality (/F`}  -
  885.          CMY or  CMYK color  and band  interleaving,  /Q - quality) and color
  886.          correction  (/B  -  brightness,  /C-  contrast,  /U  -  image  gamma
  887.          correction, /Z - output gamma correction, /Y - gray balance).
  888.  
  889.          You may  enter  up to 99  image files in  the "image file" main menu
  890.          option. Each file may be preceded by a repetition count from 2 to 5.
  891.          To choose  from a list of files,  enter a  mask name and press Enter
  892.          (the cursor must be on the mask).  The menu will then display a list
  893.          of corresponding files. Select any number of the files by moving the
  894.          cursor to the desired  file  and pressing Space  (or the right mouse
  895.          button).  Consecutive presses increment the repetition count.  If no
  896.          files have been selected, then pressing Enter selects the file under
  897.          the cursor.  The selected files are added to the file list below the
  898.          cursor.  Files that would  overflow  the 99th position on the  image
  899.          file list are dropped.
  900.  
  901.          When you  "Run PrintGF",  PrintGF is run for each  file in the image
  902.          file list.  Masks are ignored.  For any files that  PrintGF does not
  903.          successfully process, an arrow is  inserted  in  front  of  the file
  904.          name. You can view the results from the "image file" main menu item.
  905.          The arrow is not considered part of the file  name,  so  you  do not
  906.          need to remove it to retry PrintGF.
  907.  
  908.        Menu Output Options --------------------------------------------------
  909.  
  910.          The  third column of options specifies  the output destination (/D),
  911.          output format (/F),  and other output options (/L suboption F - form
  912.          feed, /X  suboption P - pause to load paper, /J prefix codes, and /K
  913.          suffix codes).
  914.  
  915.          In the  output format menu, printers that support color have a color
  916.          option ("clr:"  on the menu).  This  lets  you specify a black/white
  917.          output.  Output formats that do not support color  do  not have this
  918.          option and always convert to black/white.
  919.  
  920.        Menu Window and Margins ----------------------------------------------
  921.  
  922.          The fourth column of main menu options includes "window/margins" and
  923.          "other  window",  which  let  you  specify  the  print  area and its
  924.          position on the paper (/L - page layout).                           
  925.  
  926.                                                                          p-20
  927.        Large Paper ----------------------------------------------------------
  928.  
  929.          PrintGF can handle printing on paper  larger than  the usual 8.5x11,
  930.          but this takes some extra work. First you need to increase PrintGF's
  931.          print window  to cover the large  paper.  This is  done with the  /L
  932.          option.  The print  window  plus  the margins  must  fit  within the
  933.          printer's printable area.
  934.  
  935.          And then you must make  sure that your printer recognizes the larger
  936.          paper height.  For  continuous  forms paper  this  is  best  done by
  937.          setting skip perforation to off,  either by  printer switch or  with
  938.          PrintGF prefix codes.  For Canon, Epson, Fujitsu, IBM, and NEC  line
  939.          printers (dot  matrix,  ink jet, thermal) use  /J27  79,  or "modify
  940.          output" "prefix codes: 27 79".
  941.  
  942.          For  cut  sheet  paper,  on Canon  (except BJ  native  mode), Epson,
  943.          Fujitsu, IBM, and  NEC line printers use /J27 67 0 n, where n is the
  944.          page length in inches.  For the PDP ProTracer use /J27 67 n, where n
  945.          is the page length in lines, at six lines per inch.
  946.  
  947.          And for some printers you need to increase the right margin. For the
  948.          Canon BJC  in  Epson  mode  use  /J27 81 114.  For the HI V50/100 in
  949.          printer mode use /J27 91 88 2 0 1 255.
  950.  
  951.          For page  printers, legal size  paper  may  be specified  with these
  952.          printer code prefixes: HP-PCL  printers  /J27 38 108 51 65  (/K27 38
  953.          108 50 65 to  reset to letter), Canon  LBP  /J27 91  51 50 59 59 112
  954.          (/K27 91 51 48  59 59 112 to reset), IBM LaserPrinter /J27 91 70 5 0
  955.          3 1 2 1 (/J27 91 70 5 0 3 1 1 1 to reset).
  956.  
  957.          To  get  a 10x16  print window on  11x17 paper with  a Canon, Epson,
  958.          Fujitsu,  IBM, or NEC line printer, use these options: /L10 16 0 .25
  959.          /J27 67 0 17.  You  will probably need to adjust the margins (0 .25)
  960.          for best centering.
  961.  
  962.          The maximum  width  of the  print window  on  most  narrow  carriage
  963.          printers is 8.  The maximum print window width on most wide carriage
  964.          printers is 13.6.  The horizontal margin should be  set  to 0 to get
  965.          this width.                                                         
  966.  
  967.                                                                          p-21
  968.        Dithering ------------------------------------------------------------
  969.  
  970.          Dithering  is the  process  of  reducing  the 0..255 shade per plane
  971.          color of the input  bit map to the 0..1 shade per plane color of the
  972.          output.  There is no exact way to do this - edge or color definition
  973.          will  be lost and artifacts of the dithering process will be visible
  974.          in  the  output.  Because of this, PrintGF  offers a  wide range  of
  975.          dithering options, specified by the /Q option.
  976.  
  977.          PrintGF starts the  dithering process using  a pattern  dither.  The
  978.          output dots  are divided  into groups and each  group  is set from a
  979.          pattern  that gives various levels of color.  The pattern can be 8x8
  980.          dots giving  0..64 shades per  plane (chosen with the 8  suboption),
  981.          4x4 dots giving 0..16 shades (4),  2x2  giving 0..4 shades  (2), and
  982.          1x1 giving shades 0 and 1 (1, the default).
  983.  
  984.          Each of the pattern dithers is enhanced by error diffusion dithering
  985.          (see Bit-Mapped  Graphics  by Steve  Rimmer)  that extends the color
  986.          levels to  0..255  (1x1),  0..248 (2x2), 240  (4x4), or  0..192(8x8)
  987.          levels  per  plane.   The  error  diffusion  can  be  done  via  the
  988.          Floyd-Steinberg  filter (F  suboption), the  Stucki  filter  (S),  a
  989.          special filter  labeled  Ravitz (R -  the  default), or  the  Ravitz
  990.          filter with 50% random perturbation of the weights (suboption P) (as
  991.          suggested by Robert  Ulichney in Digital Halftoning), or  it  can be
  992.          turned off  (X).  The Ravitz filter diffuses error only to immediate
  993.          neighbors,  like  Floyd-Steinberg, but  has  directional  properties
  994.          close to Stucki's.
  995.  
  996.            Ravitz    x 6      Floyd-Steinberg    x 7      Stucki      x 8 4
  997.                    3 6 1                       3 5 1              2 4 8 4 2
  998.                                                                   1 2 4 2 1
  999.  
  1000.          For output devices  that support more than on/off  color levels, all
  1001.          dithering  is  done  via error diffusion.  256  color  displays  are
  1002.          treated as 0..5 level and dithered to  0..255.  256 level monochrome
  1003.          displays  and 15/16 bit  color displays (hi color)  are  treated  as
  1004.          0..31 level and  dithered  to  0..248.  24  bit color  (true  color)
  1005.          displays and PostScript in 8/24 bit mode are treated as 0..255 level
  1006.          and  not   dithered.   The   Fargo   Primera   and   PrimeraPro   in
  1007.          Photo-Realistic mode are multi-level devices dithered to 0..255.
  1008.  
  1009.          The 8x8  pattern  dither gives the best color, the fewest unexpected
  1010.          dithering  artifacts  (the pattern is  always  visible  but  is  not
  1011.          obtrusive), the  fastest processing,  and the worst edge definition.
  1012.          This is likely to be the best choice for high resolution devices.
  1013.  
  1014.          The  1x1  pattern dither  gives  the best edge  definition  and  the
  1015.          slowest processing. The error diffusion does all of the dithering in
  1016.          this case so the choice of filter is important. The order of fastest
  1017.          to slowest filters is F-S, Ravitz, Stucki, and Perturbed.  The order
  1018.          of fewest to most visual artifacts is the reverse.  The  1x1 pattern
  1019.          is  generally the  best choice for  low  resolution devices and  for
  1020.          pictures that require sharp edges such as text and line drawings.
  1021.  
  1022.          The 2x2 and 4x4  patterns  are  in the middle  of  the 1x1  and  8x8
  1023.          patterns on  all of  the attributes and should be tried to determine
  1024.          their usefulness.                                                   
  1025.  
  1026.                                                                          p-22
  1027.        Blurring and Sharpening ----------------------------------------------
  1028.  
  1029.          When the output size of a  bitmap is significantly  larger  than the
  1030.          input, the rectangular nature of the input may become apparent. This
  1031.          can be reduced by reducing the dither pattern size.  If this  is not
  1032.          desirable, you  can use blurring on the  output image to reduce  the
  1033.          effect. PrintGF has two output image blur filters, chosen with the B
  1034.          and D  suboptions  of /Q.  B  blurs to 8 neighbors and D blurs to 20
  1035.          neighbors. This process is slow.
  1036.  
  1037.          Image enhancement may be done with the  H..K and T..W  suboptions of
  1038.          /Q.  These  add  (sharpen)  or  subtract  (blur)  the  noted  filter
  1039.          mulitplied by .25, .5, .75, or 1.  Sharpening may  be very useful in
  1040.          combination with edge smoothing.
  1041.  
  1042.            B       1 2 1     D         1 1 1       H..K,T..W  -3 -5 -3
  1043.            filter  2 4 2     filter  1 2 2 2 1     filter     -5 32 -5
  1044.                    1 2 1             1 2 4 2 1                -3 -5 -3
  1045.                                      1 2 2 2 1
  1046.                                        1 1 1
  1047.  
  1048.        Output Gamma Color Correction ----------------------------------------
  1049.  
  1050.          Printers typically  overprint  the  area  of a dot,  for  example  a
  1051.          nominal 1/300 inch square  dot might  be printed  as  a 1.2/300 inch
  1052.          diameter circle, giving an additional area of 13%. So dithered shade
  1053.          levels  composed of single  dots will be 13% too dark.  Shade levels
  1054.          composed  of multiple connected dots will also  be too  dark, but by
  1055.          less than 13%. Solid white and solid black will exact.
  1056.  
  1057.          The  gamma  function is a general correction for this behavior.  The
  1058.          function is g(x,gamma)=255*((x/255)^gamma) for 0..255 level additive
  1059.          color.  For  gamma above 1  the function describes  an  overprinting
  1060.          situation.  Using 1/gamma exactly  reverses  the  function, so if  a
  1061.          printer's gamma is 1.5 then it is corrected by using 1/1.5 = .67.
  1062.  
  1063.          The preferred gamma correction  will  be different for the different
  1064.          dither pattern  sizes.  The  8x8 pattern  will likely need much less
  1065.          gamma correction that the 1x1 pattern.
  1066.  
  1067.          When specifying gamma  independently for cyan,  magenta, yellow, and
  1068.          black PrintGF uses g(x,gamma)=255-255*(((255-x)/255)^gamma). This is
  1069.          so that cyan, magenta, yellow  correction is the same as red, green,
  1070.          blue  correction  if black  gamma is  1 (/Z.6,.7,.8  is the same  as
  1071.          /Z.6,.7,.8,1)
  1072.  
  1073.          When the  image  file  name  is  SHADE4  to  SHADE256  (no  path  or
  1074.          extension),  PrintGF generates data internally giving a  color scale
  1075.          with 4 to 256 steps.  Set up the gamma correction to make this scale
  1076.          look best.
  1077.  
  1078.          Watch  out  for  precorrected images.  These may  requires much less
  1079.          gamma correction than  usual  or  see  /U -  Image  Gamma Correction
  1080.          Option to compensate.                                               
  1081.  
  1082.                                                                          p-23
  1083.        Color Processing -----------------------------------------------------
  1084.  
  1085.          Color graphics devices use a variety of color technologies.  PrintGF
  1086.          supports these basic types.
  1087.  
  1088.          CMY  or  cyan/magenta/yellow  is  used  by  inkjet  and  dot  matrix
  1089.          printers.  This uses three color planes and gives eight pure colors.
  1090.          Even when black ink is available, using CMY processing may give more
  1091.          consistent  colors than CMYK.  Good gray balance values are critical
  1092.          with CMY color.
  1093.  
  1094.          CMYK  or cyan/magenta/yellow/black is used by inkjet  and dot matrix
  1095.          printers.  This uses four color planes  and gives eight pure colors.
  1096.          Using black  ink  instead  of a cyan/magenta/yellow mix gives a more
  1097.          neutral and darker black color.  CMY is used by default over CMYK in
  1098.          general.  CMYK can be selected with the ` suboption of  /F or "print
  1099.          quality" "CMY (3) or CMYK (4) color: 4" on some CMY drivers.
  1100.  
  1101.          RGB or red/green/blue is used by  PostScript  and  Windows  drivers,
  1102.          including fifteen and  twenty-four bit modes.  This uses three color
  1103.          planes  and gives  eight  pure colors  or  more  for high/true color
  1104.          modes.
  1105.  
  1106.          RGBI or red/green/blue/intensity  is  used by displays and bit maps.
  1107.          This uses  four color planes  to give fifteen  pure colors.  PrintGF
  1108.          uses only eight or these fifteen colors -  dark  black  and  intense
  1109.          red, green, blue, etc.
  1110.  
  1111.        Compatibility and Technical Information ------------------------------
  1112.  
  1113.          PrintGF will  run on any  IBM compatible system  with  MS-DOS 3.0 or
  1114.          above. MS-DOS 3.3 or later is recommended. It requires up to 384K of
  1115.          free memory. XMS memory, available from HIMEM, QEMM, 386MAX or other
  1116.          memory  managers,  is  required for interlaced GIF files, vertically
  1117.          mirrored GIF and PCX  prints, BMP  prints  that are  not  vertically
  1118.          mirrored, landscape mode printing, and AccuSoft IFL use.
  1119.  
  1120.          PrintGF/W is  an MS Windows  3.1 program.  It  uses  its own printer
  1121.          drivers, not Windows printer drivers.
  1122.  
  1123.          These programs should not be compressed by any EXE file compressors,
  1124.          as they rewrite the EXE when saving configurations.
  1125.  
  1126.          PrintGF was written by Cary Ravitz and  compiled with Borland Pascal
  1127.          7.0.  PRINTGF.OVR is  compiled  with Borland's  Turbo  C++  3.0  and
  1128.          contains  AccuSoft's  Image  Format  Library  4.0  low  level  image
  1129.          interpreter.   PRINTGF.DLL  is  AccuSofts's  IFL  4.0  Windows  DLL.
  1130.          PRINTGF.FPR is  Fargo's  Primera  and PrimeraPro Photo-Realistic ROM
  1131.          code.                                                                
  1132.  
  1133.                                                                          p-24
  1134.        Output Devices (Displays, Printers, Plotters, Bit Maps, Fax) ---------
  1135.  
  1136.          Canon BJ and BJC Printers ------------------------------------------
  1137.  
  1138.            PrintGF has five basic drivers for Canon BJ and BJC printers.  /F7
  1139.            is  the  IBM  mode  driver.   It  works  with  the  BJ130e,   BJ5,
  1140.            BJ10/10e/10ex, BJ20, BJ200/230, and BJ300/330.
  1141.  
  1142.            /FJ is the BJ130 mode driver.  It works with all Canon BJ printers
  1143.            in IBM or native mode. The printer is set to 10 pitch text.
  1144.  
  1145.            /FB is the Epson mode driver.  It  works  with the  BJ200/230  and
  1146.            BJC800/820. Color is supported. For the BJC800/820 the prefix code
  1147.            27 81 114 sets the print width to 11.4 inches.
  1148.  
  1149.            /F&  is the native  mode driver.  It works  with the BJ200/230 and
  1150.            BJC800/820 in any mode. Color is supported.  Epson/IBM mode prefix
  1151.            codes are not compatible and are not needed.  Always use form feed
  1152.            with the BJ native driver unless you have previously set BJ native
  1153.            mode. Interleave mode is not available with this driver.
  1154.  
  1155.            /F@ is the CaPSL mode driver for the BJC880. Color is supported.
  1156.  
  1157.            Some  of  these printers have  an image density option (DIP switch
  1158.            and/or front panel switch).  Low density  eliminates  every second
  1159.            dot. To get the full 360 dpi resolution, use high density.
  1160.  
  1161.          Canon LBP Printers -------------------------------------------------
  1162.  
  1163.            /FD works with any Canon LBP 4 and 8 printers that do not have the
  1164.            SX or 30 suffix.  If the printer is in Diablo mode, it is switched
  1165.            to ISO mode.
  1166.  
  1167.            The ! suboption switches to CaPSL 4 data compression. /FD+! is the
  1168.            best driver for the LBP 8 Mk4 at 600 dpi.
  1169.  
  1170.            You might need to set up the printer with /J27 59 27 91 50 38 122.
  1171.            To switch back to Diablo mode on completion, use /K27 58.
  1172.  
  1173.            Any Canon  LBP printer with  the SX or  30  suffix  is  an  HP-PCL
  1174.            printer and should use the /FI drivers.                           
  1175.  
  1176.                                                                          p-25
  1177.          Display ------------------------------------------------------------
  1178.  
  1179.            When  you  display  an  image, the cursor keys scroll  the plot, S
  1180.            cycles between full, half (the default),  quarter, and eighth page
  1181.            scrolling,  R redraws the screen, PgDn and PgUp magnify and reduce
  1182.            by 1.4, and Enter or Esc returns to DOS.
  1183.  
  1184.            Regardless of  the size  of your monitor, PrintGF acts as if it is
  1185.            eight inches wide.
  1186.  
  1187.            /FC drives a CGA, but does not give color.
  1188.  
  1189.            The EGA drivers, /FE and /FM, require a 128K or 256K EGA. /FC will
  1190.            work with a 64K EGA.  /FM is for an EGA  card with a digital (TTL)
  1191.            monochrome monitor.
  1192.  
  1193.            /FH supports the Hercules monochrome graphics card.
  1194.  
  1195.            /FV works with any VGA card. For MCGAs use /FV~.
  1196.  
  1197.            /FV+  uses VESA  SVGA 800x600 16  color mode.  /FV* uses VESA SVGA
  1198.            1024x768 16 color mode.
  1199.  
  1200.            The  /FU  drivers use 256 or  greater  color modes  to  give 0..5,
  1201.            0..31, or 0..255 level per plane color or 0..31  level monochrome.
  1202.            The processing  resolution  option  is ignored  for these drivers.
  1203.            /FU-  drives any VGA at 320x200.  /FU, /FU+,  /FU*,  and  /FU^ use
  1204.            640x480, 800x600, 1024x768, and 1280x1024 VESA SVGA modes.  All of
  1205.            these drivers first look for a 24 bit (8r,8g,8b) color mode,  then
  1206.            a 15 or 16 bit (5r,5g,5b or 5r,6g,5b)  color  mode, and then an  8
  1207.            bit (256 color palette) color mode,  using the best  mode  that it
  1208.            finds at the specified resolution.
  1209.  
  1210.            The Windows display drivers (/FV%, /FU%) do not use the resolution
  1211.            modifier,  and  instead set the  resolution to the screen width in
  1212.            pixels divided by 8.5.
  1213.  
  1214.            Display output cannot be redirected to a file.
  1215.  
  1216.          Epson, IBM 9 Pin Printers ------------------------------------------
  1217.  
  1218.            /FN, /FW, and /F1 cover a wide range of Epson/IBM compatible 9 pin
  1219.            dot  matrix printers.  You need a cyan/magenta/yellow/black ribbon
  1220.            to get color prints. /FW sets line feeds to 1/6 inch.
  1221.  
  1222.          Epson, Fujitsu, NEC, Toshiba 24 Pin Printers -----------------------
  1223.  
  1224.            /FT  covers  all  Epson LQ printers and  many  compatible printers
  1225.            (Panasonic in LQ mode and others).  /FF works with  Fujitsu 24 pin
  1226.            printers in Fujitsu mode.  /F9 works with NEC 24 pin printers. /FO
  1227.            works  with Toshiba 24  pin printers.  /FO  resets the  line  feed
  1228.            distance to 1/6 inch on completion.
  1229.  
  1230.            For all of these  drivers,  you need  a  cyan/magenta/yellow/black
  1231.            ribbon to get color prints.                                       
  1232.  
  1233.                                                                          p-26
  1234.          Epson Stylus and Esc/P2 printers -----------------------------------
  1235.  
  1236.            /F$ drives Epson  Stylus  and  other  Esc/P2 printers.  Note  that
  1237.            Esc/P2 requires a different prefix code for paper  size than other
  1238.            line  printers.  Always  use the form feed option with this driver
  1239.            unless you have previously set compressed graphics mode.
  1240.  
  1241.            The /F$ color drivers are always CMYK.
  1242.  
  1243.            /FB~  drives  Epson  Stylus  and  older  Epson  48  nozzle  inkjet
  1244.            printers,  using  compressed  Esc/P  control codes.  It  does  not
  1245.            require a form feed or interfere with previous printer settings.
  1246.  
  1247.          Epson Stylus Color -------------------------------------------------
  1248.  
  1249.            The Epson Stylus Color can use any of the /F$ or /FB drivers. /F$+
  1250.            gives 720 dpi mode.
  1251.  
  1252.            Band  interleaving  for  720 dpi  black prints  (/F$+~) imposes  a
  1253.            severe  slowdown  because the interleaving  is  aimed  at reducing
  1254.            printing on wet  ink rather than  reducing the visual artifacts of
  1255.            indexing errors.                                                  
  1256.  
  1257.                                                                          p-27
  1258.          Fargo Primera and PrimeraPro ---------------------------------------
  1259.  
  1260.            /F8  includes five drivers for the Primera.  /F8 is the CMY driver
  1261.            for standard CMY and CMYK ribbons. /F8` is the CMYK driver for the
  1262.            standard CMYK ribbon. /F8~ is for standard black ribbons.  /F8+ is
  1263.            for  Photo-Realistic CMY  ribbons.  /F8+~  is for  Photo-Realistic
  1264.            black ribbons.
  1265.  
  1266.            /FY provides  analogous drivers for the PrimeraPro at 300x300 dpi.
  1267.            /FY+! is the same as /FY+ (300 dpi Photo-Realistic) except that it
  1268.            assumes  an  A6 ribbon in the  printer.  There  is  no  monochrome
  1269.            version of this driver.  /FY* is for  the Primera Pro 300x600  dpi
  1270.            Photo-Realistic mode.
  1271.  
  1272.            The Primera  heat  level  (1..96)  may be appended  to the  output
  1273.            format option. The default is 20.
  1274.  
  1275.            The Primera requires  fast data flow  and can  cause long waits in
  1276.            the data flow at times. Because of this it is important to use the
  1277.            direct parallel port (/DP1, ..) or BIOS printer destinations (/D1,
  1278.            ..) rather than the LPT destinations (/DLPT1, ..).
  1279.  
  1280.            Depending on your computer and the ribbon type, PrintGF may not be
  1281.            able to send data to the printer  as fast as it needs it.  In this
  1282.            case the printer will still  function  but there  will be indexing
  1283.            errors  or  horizontal  bands in the  print.  To fix  this use the
  1284.            intermediate  file option (/I).  This will send all  output to  an
  1285.            intermediate file and then copy the file to the printer.
  1286.  
  1287.            For the Primera in Photo-Realistic  mode, the user specified color
  1288.            correction (brightness, gamma, etc.) is done first, with the gamma
  1289.            multiplied by 1.5, and then the Fargo recommended color correction
  1290.            is done.
  1291.  
  1292.          Fax/Modems ---------------------------------------------------------
  1293.  
  1294.            PrintGF will not create data for direct use  by fax/modem devices.
  1295.            Most fax software  will read PCX files and  PrintGF  can  generate
  1296.            such files.
  1297.  
  1298.            Use /FZ~200,196 or "ZSoft PCX b/w h,v dpi: 200,196" to  generate a
  1299.            PCX at 200x196 dpi which is the native fax high resolution.
  1300.  
  1301.          HI JetPro V50/100 --------------------------------------------------
  1302.  
  1303.            In printer mode the HI V50/100 acts as a Canon BJ IBM mode printer
  1304.            (/F7).  The  maximum  print width is 15.25 and you need the prefix
  1305.            code 27,91,88,2,0,1,255 to get beyond 13.6 inches.                
  1306.  
  1307.                                                                          p-28
  1308.          HP DeskJet ---------------------------------------------------------
  1309.  
  1310.            /FI works with any black/white DeskJet in portrait mode.
  1311.  
  1312.            /FA has three modes for different levels of color HP-PCL. /FA uses
  1313.            RGB color and works with the DeskJet 500C. /FA! uses CMY color and
  1314.            works with all color DeskJets.  /FA!` uses CMYK color to give give
  1315.            better blacks only on the DeskJet 550C (the DJ 1200C converts from
  1316.            CMY to CMYK color internally).
  1317.  
  1318.          HP LaserJet --------------------------------------------------------
  1319.  
  1320.            /FL works with any LaserJet compatible printer. /FL! works with LJ
  1321.            2 (PCL 4) printers.  /FI works with LJ 3 (PCL 5) printers. /FI+ is
  1322.            a 600 dpi driver for the LaserJet 4.
  1323.  
  1324.            All  of these drivers work in portrait mode, which may be set with
  1325.            /J 27 38 108 48 79 or you can reset the printer with /J 27 69.
  1326.  
  1327.            Resolution  enhancement  (RET)  may  adversely  affect   PrintGF's
  1328.            shading patterns. This can be turned off with the prefix code 255,
  1329.            which is converted to the required PJL commands.  This must be the
  1330.            first prefix code.
  1331.  
  1332.          HP PaintJet --------------------------------------------------------
  1333.  
  1334.            /FP drives 180 dpi PaintJet printers.  The compression mode driver
  1335.            (/FP!) uses transfer mode 2 and works only with a PaintJet XL.
  1336.  
  1337.            /FA! (the DeskJet 500C CMY driver) works with the PaintJet XL300.
  1338.  
  1339.          HP QuietJet --------------------------------------------------------
  1340.  
  1341.            /FQ works with QuietJets in HP-PCL mode.
  1342.  
  1343.          HP-RTL Plotters ----------------------------------------------------
  1344.  
  1345.            /F0[i]  works  with  HP-RTL  plotters.  For  large prints a dither
  1346.            pattern of 4 is  generally preferable.  Always  use form feed with
  1347.            driver unless you have previously set HP-RTL mode.
  1348.  
  1349.          IBM Inkjets - ExecJet 4072, ExecJet II, Color Jetprinter 4079 ------
  1350.  
  1351.            These are three completely different printers. The ExecJet 4072 is
  1352.            Canon BJ330 compatible. Put the printer in IBM mode and use /F7.
  1353.  
  1354.            The ExecJet II and  IIc are  DeskJet and  DeskJet  500C compatible
  1355.            printers and should be used with /FI and /FA!.
  1356.  
  1357.            The 4079 is basically a PostScript printer  and you  can  drive it
  1358.            with /FS.  However you can get  faster printing by  using  it as a
  1359.            raster printer.  Newer versions of the printer can be set to ASCII
  1360.            text mode and driven with  /F&  (Canon BJ native).  Older printers
  1361.            can be turned  on  with the  two leftmost buttons  held down until
  1362.            startup is  complete and then put in  ASCII dump mode to use  /F&.
  1363.            Always use  form feed  with the BJ native  driver unless you  have
  1364.            previously set BJ native mode.                                    
  1365.  
  1366.                                                                          p-29
  1367.          IBM LaserPrinter 4019, 4029, 4037, 4039 ----------------------------
  1368.  
  1369.            /F4 drives any LaserPrinter 4019, 4029, or 4037 in  PPDS  (native)
  1370.            mode. /FL will work for HP LaserJet mode.
  1371.  
  1372.            The !  suboption or "modify output" "compression mode: Y" switches
  1373.            to 4029 data compression.  /F4+!  works with the 4029 with 600 dpi
  1374.            PPDS upgrade.
  1375.  
  1376.            All 4039s are HP-PCL printers and  should  be  driven with /FI  or
  1377.            /FI+ (the printer menu must be set to 600 dpi in this case). These
  1378.            printers do not support PPDS mode (/F4).
  1379.  
  1380.          IBM 24 Pin Printers ------------------------------------------------
  1381.  
  1382.            PrintGF has three drivers  for Proprinter X24 compatible printers.
  1383.            Use  native  mode, not AGM.  /F6 is for all IBM X24s and  the 24P.
  1384.            These  printers  do 1/144 inch indexing and using  them at 180 dpi
  1385.            gives horizontal  white streaks  every 2/3 inch.  The  /F6 drivers
  1386.            compensate  for this by indexing 19/144  per line, giving 182 dpi.
  1387.            To work properly the  printer must start on  a 1/72 boundary so it
  1388.            is best to keep line feeds at a multiple of 1/72 (1/6, 1/8, 1/9).
  1389.  
  1390.            /F5 is referred to as X24 alternate 1 and is for printers that are
  1391.            X24 compatible  except for  1/180 inch indexing.  This is the case
  1392.            with  most X24 compatible printers, including the IBM  Quickwriter
  1393.            and IBM 2390 and 2391. /F5* works only with printers that do 1/360
  1394.            indexing, including the 2390 and 2391 but not the Quickwriter.
  1395.  
  1396.            /FX  is referred to  as X24  alternate 2  and is  the same  as /F5
  1397.            except for the  vertical units command.  /FX  works with Panasonic
  1398.            printers in X24 mode.
  1399.  
  1400.          IBM Quietwriter 2 and 3 --------------------------------------------
  1401.  
  1402.            /F2  and /F3 drive the Quietwriter 2 and 3.  Line feeds are set to
  1403.            1/6 inch on completion.
  1404.  
  1405.          JRL J bubblejet ----------------------------------------------------
  1406.  
  1407.            /F# drives the JRL J bubblejet in Epson LQ mode.
  1408.  
  1409.          Kodak Diconix Color 4 ----------------------------------------------
  1410.  
  1411.            /FK drives the Color 4.
  1412.  
  1413.          Mannesmann Tally MT92C ---------------------------------------------
  1414.  
  1415.            /FA (the DeskJet 500C RGB driver) drives the MT92C.               
  1416.  
  1417.                                                                          p-30
  1418.          Pacific Data Products ProTracer ------------------------------------
  1419.  
  1420.            /FG drives the ProTracer (base model) in IBM Proprinter mode.  The
  1421.            maximum print window width is 15.
  1422.  
  1423.          PostScript Printers ------------------------------------------------
  1424.  
  1425.            /FS  sends  8  bit  black/white  or  24  bit  color  data.  Unless
  1426.            overridden,  the output resolution matches the  image  file.  This
  1427.            lets the PostScript device handle all of the dithering.
  1428.  
  1429.            /FS- drives  PostScript printers  with 1 bit  black/white or 3 bit
  1430.            color.  It  is important to match the  resolution of the driver to
  1431.            the  resolution of the printer for good  results.  Some PostScript
  1432.            printers cannot handle this data.
  1433.  
  1434.            The  vertical  margin  is  from  the   bottom  of  the  page  with
  1435.            PostScript.
  1436.  
  1437.          Star Micronics SJ-144 ----------------------------------------------
  1438.  
  1439.            /F: drives the SJ-144.  Always  use the form feed option with this
  1440.            driver  unless  you have  previously  set  CDM mode.  The two pass
  1441.            version of  this driver, /F:+, may  be needed for dark prints.  If
  1442.            you are having problems with the ribbon sticking to the paper, try
  1443.            this driver, but don't  use it unnecessarily as it  uses twice the
  1444.            usual ribbon.
  1445.  
  1446.          Tektronix ColorQuick -----------------------------------------------
  1447.  
  1448.            /FR drives the ColorQuick.
  1449.  
  1450.          Windows Printer ----------------------------------------------------
  1451.  
  1452.            /FW% drives the default Windows printer as a 24 bit device.  /FW%-
  1453.            drives the default Windows printer as a 3 bit device.  The data is
  1454.            sent  at the resolution of the printer and is  always sent  to the
  1455.            Print  Manager  regardless of the PrintGF  destination.  !  causes
  1456.            PrintGL to band the output to the driver.  This can  improve print
  1457.            speed or cause Windows to abort the print.
  1458.  
  1459.          ZSoft PCX Bit Map --------------------------------------------------
  1460.  
  1461.            /FZ and /FZ~ output 1 bit/plane color and monochrome ZSoft PCX bit
  1462.            maps. /FZ+ and /FZ+~ output 8 bit/plane color and monochrome PCXs.
  1463.            The  horizontal and vertical dots/inch may be appended to override
  1464.            the  default  100x100,  for example  /FZ80,90.  PCX  output should
  1465.            generally be directed to a file with the /D option.
  1466.  
  1467.            Since  most  fax  software  can take PCX  files as input, this  is
  1468.            useful  for  faxing  images.  Use  /FZ~203,196 to  match  the  fax
  1469.            resolution.                                                       
  1470.  
  1471.                                                                          p-31
  1472.        Program Interface ----------------------------------------------------
  1473.  
  1474.          The following  information  lets  you  integrate  PrintGF  into your
  1475.          program to  print or display bit maps.  This information is provided
  1476.          for experienced  programmers only.  No user help will be provided on
  1477.          this topic.
  1478.  
  1479.          You may not distribute PrintGF as part of another product or  on the
  1480.          same disk with any commercial software (see License). Contact Ravitz
  1481.          Software Inc. to inquire about special distribution licenses.
  1482.  
  1483.          To extend the  PrintGF setup  string, set  up multiple  strings that
  1484.          include  only complete  options.  Include  in each string except the
  1485.          last  the option /&next_segment, next_offset  to  point  to the next
  1486.          string. This links the strings together so that PrintGF can read all
  1487.          of the strings.
  1488.  
  1489.          PrintGF  can  use  your  keyboard/mouse  input  routine  instead  of
  1490.          accessing BIOS  or  Windows  directly.  To use this  feature add the
  1491.          segment  and offset of your keyboard  routine to the /X option.  The
  1492.          routine must be a far routine that  receives one  word parameter  on
  1493.          the  stack  and pops the  stack  on return (Pascal convention).  The
  1494.          parameter will be:
  1495.  
  1496.            0 -   routine returns 1 if a key is ready or 0 if no key is ready
  1497.            1 -   routine waits for a key and returns it
  1498.            100 - PrintGF has returned to text mode
  1499.            101 - PrintGF has entered APA screen mode
  1500.            110 - PrintGF return code is 0 (success)
  1501.            111 - PrintGF return code is 1 (failed)
  1502.            112 - PrintGF return code is 2 (user break)
  1503.  
  1504.          Return  values should  be  put in  ax.  Keystroke  values  should be
  1505.          identical to those returned by the keyboard BIOS.
  1506.  
  1507.          100 and 101 are used to let your program know what is on the screen.
  1508.          No return value is expected.
  1509.  
  1510.          PrintGF can also use your screen output routine instead of accessing
  1511.          DOS or WIndows.  To use this feature  add the  segment and offset of
  1512.          your  output routine  to the /X  option.  If you are using PrintGF's
  1513.          keyboard routine, precede it with "0,0,".  The routine must be a far
  1514.          routine that receives one pointer on the stack and pops the stack on
  1515.          return.  The pointer will point to a length delimited string (Pascal
  1516.          string).  No  return information  is  expected.  This  routine  only
  1517.          receives PringGF's text data, not it graphics display data.
  1518.  
  1519.          You  will need to switch  to your own  data segment  to  access your
  1520.          global variables from  these routines.  If you add your data segment
  1521.          as the  fifth numeric option to /X then PrintGF will set this as the
  1522.          data segment before it calls your routines.  If you want to use this
  1523.          feature  but not use your own  screen output routine,  insert "0,0,"
  1524.          instead of the routine address.                                     
  1525.  
  1526.                                                                          p-32
  1527.          PrintGF  can read image files or call your program to receive  data.
  1528.          To set up a callback routine to transfer data, add /E segment,offset
  1529.          to the parameter list to specify the address of the routine.
  1530.  
  1531.          This routine should, in general, switch to your  data segment,  your
  1532.          stack if you need more than 1K, and your program prefix  segment and
  1533.          dta if you are using DOS file access  in  the  middle of a callback.
  1534.          You  can have PrintGF automatically switch  to your  data segment by
  1535.          adding it as the third numeric parameter to the  /E option.  In this
  1536.          case, wherever ds would set be  as documented  below, es is  instead
  1537.          set.
  1538.  
  1539.          All parameters are transferred via  register.  The callback  routine
  1540.          will be called with these parameters:
  1541.  
  1542.            open file
  1543.  
  1544.              ax = $3d00
  1545.              cx = 0
  1546.              dx = offset of filename
  1547.              ds = segment of filename (filename is null delimited string)
  1548.  
  1549.              returns handle in ax
  1550.              sets carry flag on error
  1551.  
  1552.              Since you  set the filename in the PrintGF PD parameter list, it
  1553.              it not important. The returned handle is also not important.
  1554.  
  1555.            close file
  1556.  
  1557.              ax = $3e00
  1558.              bx = handle
  1559.  
  1560.            read data
  1561.  
  1562.              ax = $3f00
  1563.              bx = handle
  1564.              cx = amount of data desired
  1565.              dx = offset of buffer to load data
  1566.              ds = segment of buffer to load data
  1567.  
  1568.              returns amount of data loaded in ax (must be <= cx and >= 1)
  1569.              sets carry flag on error
  1570.  
  1571.              You can return as little as 1 byte of data or as much as cx.
  1572.  
  1573.          Setting  the  program  prefix  segment  is  accomplished  via  these
  1574.          undocumented DOS calls (int $21)
  1575.  
  1576.            ax = $5100 returns psp in bx
  1577.            ax = $5000 and bx = psp sets the psp.                             
  1578.  
  1579.                                                                          p-33
  1580.        PGF Files ------------------------------------------------------------
  1581.  
  1582.          PrintGF  can read four simple proprietary image formats - PGF files.
  1583.          These  formats   are   designed   for   easy  image   transfer   and
  1584.          transformation,  and are  not compressed  or  compatible  with other
  1585.          programs.
  1586.  
  1587.            bytes:
  1588.  
  1589.              0..5    - 'PGF 24'
  1590.              6..7    - image width in pixels
  1591.              8..9    - image height in pixels
  1592.              10..13  - aspect ratio - first two bytes / second two bytes
  1593.              14..      image - uncompressed 24 bit RGB triplets
  1594.                        scan line is width*3 bytes
  1595.                        scan lines are in top to bottom order
  1596.  
  1597.              0..5    - 'PGF 08'
  1598.              6..7    - image width in pixels
  1599.              8..9    - image height in pixels
  1600.              10..13  - aspect ratio - first two bytes / second two bytes
  1601.              14..781 - palette - 256 RGB triplets
  1602.              782..     image - uncompressed 8 bit palette indexes
  1603.                        scan line is width bytes
  1604.                        scan lines are in top to bottom order
  1605.  
  1606.              0..5    - 'PGF 04'
  1607.              6..7    - image width in pixels
  1608.              8..9    - image height in pixels
  1609.              10..13  - aspect ratio - first two bytes / second two bytes
  1610.              14..61  - palette - 16 RGB triplets
  1611.              62..      image - uncompressed 4 bit palette indexes
  1612.                        scan line is (width+1) shr 1 bytes
  1613.                        scan lines are in top to bottom order
  1614.  
  1615.              0..5    - 'PGF 01'
  1616.              6..7    - image width in pixels
  1617.              8..9    - image height in pixels
  1618.              10..13  - aspect ratio - first two bytes / second two bytes
  1619.              14..19  - palette - 2 RGB triplets
  1620.              20..      image - uncompressed 1 bit palette indexes
  1621.                        scan line is (width+7) shr 3 bytes
  1622.                        scan lines are in top to bottom order                 
  1623.  
  1624.                                                                          p-34
  1625.        Useful Prefix and Suffix Codes ---------------------------------------
  1626.  
  1627.          Below, n  represents an integer,  nA represents an integer in  ASCII
  1628.          format (1 becomes 49, 2 becomes 50, 43 becomes 52 51, etc.).
  1629.  
  1630.          Canon,      Reset                    27 64
  1631.          Epson,      N inch paper             27 67 0 n
  1632.          Fujitsu,    17 inch paper            27 67 0 17
  1633.          IBM, NEC    Right margin n columns   27 81 n           (not for IBM)
  1634.          dot matrix, Skip perforation off     27 79
  1635.          inkjet      Unidirectional printing  27 85 1
  1636.  
  1637.          Can BJ      Page length, right margin x 10   27 40 103 3 0 n 1 n
  1638.          native
  1639.  
  1640.          Esc/P2      N/dpi inch paper         27 40 67 2 0 lo(n) hi(n)
  1641.                      Unidirectional printing  27 85 1
  1642.  
  1643.          HP PCL,     Reset                    27 69
  1644.          DeskJet,    Portrait mode            27 38 108 48 79
  1645.          LaserJet,   Top margin 0             27 38 108 48 69
  1646.          PaintJet    Skip perforation off     27 38 108 48 76
  1647.                      11 inch paper            27 38 108 50 65
  1648.                      14 inch paper            27 38 108 51 65
  1649.                      11x17 inch paper         27 38 108 54 65
  1650.                      Manual feed              27 38 108 50 72
  1651.                      N copies                 27 38 108 nA 88 (page printers)
  1652.                      RET off                  255           (first code only)
  1653.  
  1654.          HP DJ500C   High quality, slow       27 42 111 49 81
  1655.                      No ink depletion         27 42 111 49 68
  1656.  
  1657.          HP QJ       HP-PCL mode              27 37 65
  1658.                      DIP switch mode          27 37 64
  1659.  
  1660.          IBM LP      11 inch paper, tray 1, n copies  27 91 70 5 0 3 1 1 n
  1661.                      14 inch paper, tray 1, n copies  27 91 70 5 0 3 1 2 n
  1662.                      14 inch paper, manual, n copies  27 91 70 5 0 1 1 2 n
  1663.                      N copies                         27 91 70 5 0 0 0 0 n
  1664.  
  1665.          Canon       Reset                    27 99
  1666.          CaPSL,      11 inch paper            27 91 51 48 59 59 112
  1667.          LBP,        14 inch paper            27 91 51 50 59 59 112
  1668.          BJC880      Manual feed              27 91 49 113
  1669.                      Automatic feed           27 91 48 113
  1670.                      Full page memory mode    27 59 27 91 50 38 122
  1671.                      N copies                 27 91 nA 118
  1672.                      Cursor to top of page    27 91 48 100
  1673.                      Diablo mode              27 58
  1674.                      ISO mode                 27 59
  1675.  
  1676.          PostScript  N copies                 nA 32 88 67
  1677.                      Paper tray n             nA 32 88 80
  1678.  
  1679.          ProTracer   N line paper             27 67 n
  1680.  
  1681.          HI V50/100  Max margins              27 91 88 2 0 1 255             
  1682.  
  1683.                                                                          p-35
  1684.        Answers --------------------------------------------------------------
  1685.  
  1686.          You  must set  a  suitable "output format"  or  /F  option to print.
  1687.          PrintGF defaults to display an image, not print it.
  1688.  
  1689.          Set a negative contrast (-50) to reverse the colors of an image.
  1690.  
  1691.          For the Canon BJC-800 in Epson mode, the right margin  defaults to 8
  1692.          inches. Use /J27 64 27 81 114 to set it to 11.4 inches.
  1693.  
  1694.          For the  Canon BJ-330 and most wide  carriage printers,  the maximum
  1695.          print window  width is 13.57  inches.  This is a printer  limitation
  1696.          that you cannot get around.
  1697.  
  1698.          If  your  printer ejects the paper before the print is finished, you
  1699.          probably need to specify a paper length  prefix code.  For most line
  1700.          printers use /J27 67 0 n where n is the page length in inches. Canon
  1701.          BJ native  mode uses  /J27  40  103 3 0 n 1 114 where  n is the page
  1702.          length  in  inches times 10  (the default is 17).  Epson Esc/P2 uses
  1703.          /J27 40 67 2 0  lo(n) hi(n) where n is a two byte integer specifying
  1704.          the page length in dots.  The PDP ProTracer in IBM mode uses /J27 67
  1705.          n where n is the page length in lines (6 lines/inch usually).
  1706.  
  1707.        User Support ---------------------------------------------------------
  1708.  
  1709.          Correspondence  about  this  program  may be  sent  via the  support
  1710.          bulletin board, fax, Compuserve, or mail.
  1711.  
  1712.          BBS:        606-268-0577  1200..14400,N,8,1  24 hours/day
  1713.  
  1714.            To ask a question, prepare an ASCII text file with  the details of
  1715.            your question.  Then call the bulletin board and choose the upload
  1716.            question  option.  XMODEM,  1K XMODEM,  or  ZMODEM  file  transfer
  1717.            protocol is required for this.  Your question will be  assigned  a
  1718.            number (such as 1015) - remember this number. An answer file (with
  1719.            the assigned number)  will be posted, usually within  24 hours  on
  1720.            weekdays.  To  get  an answer, call the bulletin board, choose the
  1721.            download option, then the answer option, and then enter the answer
  1722.            number.
  1723.  
  1724.          Compuserve: Cary Ravitz [70431,32]
  1725.  
  1726.          Fax:        606-268-0577
  1727.  
  1728.            If  your fax machine does not send the fax calling signal, the BBS
  1729.            will  answer and  hang  up (about  30  seconds), then the  call is
  1730.            routed to the fax.  Faxes from outside the USA may be answered via
  1731.            letter.
  1732.  
  1733.          Mail:       Ravitz Software Inc.
  1734.                      P.O. Box 25068
  1735.                      Lexington, KY  40524-5068
  1736.                      USA